package com.shangxian.giveithome.service;

import com.shangxian.giveithome.entity.PageableDetails;
import org.springframework.data.domain.Pageable;

/**
 * @author coderFu
 * @create 2021/5/4
 */

public interface PetCardQrService {

    /**
     * 按已有顺序生成一张二维码
     * @return
     */
    void produceOneQr();

    /**
     * 按已有顺序生成100张二维码
     */
    void produceHundredQr();

    /**
     * 查询所有二维码信息
     * @param pageable
     * @param petCardNo
     * @return
     */
    PageableDetails findAllPetCardQr(Pageable pageable, String petCardNo);


    /**
     * 根据id删除二维码
     * @param id
     */
    void deletePetCardQrById(Long id);
}
